<%@page import="com.neiquan.backstage.pub.bsc.dao.po.Partner"%>
<%@page import="com.neiquan.backstage.resourec_manage.PartnerService"%>
<%@page import="java.util.List"%>
<%@page import="com.neiquan.backstage.common.util.SpringContextUtils"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
Integer partnerId = Integer.valueOf(request.getParameter("partnerId"));
ApplicationContext appCtx = SpringContextUtils.getApplicationContext();
PartnerService partnerService = appCtx.getBean(PartnerService.class);
Partner partner = partnerService.queryById(partnerId);
pageContext.setAttribute("partner", partner);
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>公司资料</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<link rel="stylesheet" href="css/base.css" />
	<link rel="stylesheet" href="css/main.css" />
</head>
<body bgcolor="#f0f0f0">
		<section class="mt activesignup">
			<section class="tc">
					<section>
						<p class="addrvisitor-title pd">基本信息</p>
						<section class="line"></section>
						<section class="common_bg">
							<section class="perfect company-perfect pd">
								<p class="form-inpt-p">
									<label>团队/公司名称</label><input readonly="readonly" class="inpt" type="text" value="${partner.name}" />
								</p>
								<p class="form-inpt-p">
									<label class="logo-label">团队/公司LOGO</label>
									<span class="logo-right relative">
											<img class="company-img" src="${partner.loge}" />
									</span>
								</p>
								<p class="form-inpt-p">
									<label class="vistor-instuct">团队/公司简介</label>
									<textarea readonly="readonly" class="inpt vistor-instuct-text"  />"${partner.description}"</textarea>
								</p>
							</section>
						</section>
					</section>
					<section class="common_bg mt">
						<p class="addrvisitor-title pd">联系信息</p>
						<section class="line"></section>
						<section>
							<section class="perfect pd">
								<p class="form-inpt-p">
									<label>联系人</label><input readonly="readonly" class="inpt"  type="text" value="${partner.linkman}<%=partner.getLinkman()%>" />
								</p>
								<p class="form-inpt-p">
									<label>手机号</label><input readonly="readonly" value="${partner.phone}<%=partner.getPhone()%>" class="inpt"  type="tel" type="tel" />
								</p>
								<p class="form-inpt-p">
									<label>邮件</label><input readonly="readonly" value="${partner.mail}<%=partner.getMail()%>" class="inpt"  type="email"  />
								</p>
								<p class="form-inpt-p">
									<label>联系地址</label><input readonly="readonly" value="${partner.address}<%=partner.getAddress()%>" class="inpt"  type="text"  />
								</p>
							</section>
						</section>
					</section>
			</section>
		</section>
</body>
<script>
	$(function(){
		var zhubajieH = $('.copyprint-top-right').height();
		$('.copyprint-top').height(zhubajieH);
		$('.copyprint-bottom').height(window.innerHeight - zhubajieH - 60);
	})
		</script>
<script src="js/jquery.min.js"></script>		
<script src="js/responsive.js"></script>
</html>
